package com.goodving.guli.model;

import android.bluetooth.BluetoothAdapter;
import android.os.Parcel;
import android.os.Parcelable;

import com.goodving.guli.view.C3657a;

/**
 * Created by john on 2015/11/24.
 */
public class BraceletBtInfo implements Parcelable {
    public static final Creator<BraceletBtInfo> CREATOR;
    public int f19635a;
    public String f19636b;
    public String f19637c;
    public String f19638d;
    public String f19639e;

    static {
        CREATOR = new C3909g();
    }

    public BraceletBtInfo() {
        this.f19635a = -1;
        this.f19636b = C3657a.f18328f;
        this.f19637c = C3657a.f18328f;
        this.f19638d = C3657a.f18328f;
        this.f19639e = C3657a.f18328f;
    }

    public boolean m25394a() {
        return this.f19636b != null && this.f19636b.length() > 0 && BluetoothAdapter.checkBluetoothAddress(this.f19636b);
    }

    public int describeContents() {
        return 0;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(this.f19635a);
        parcel.writeString(this.f19637c);
        parcel.writeString(this.f19636b);
        parcel.writeString(this.f19638d);
        parcel.writeString(this.f19639e);
    }
}
